package xyz.zyt123.hikvideo.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author zhuyuntao
 */
@Data
public class Capture {
  @TableId(type = IdType.AUTO)
  private Integer id;
  private Integer deviceId;
  private Integer userId;
  private String userName;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date time;
  private String path;
}
